package com.maiji.cloud.entities.login;

import java.util.Date;
import java.util.List;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.maiji.cloud.response.login.UploadImageResData;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 
 * Description:  意见反馈表
 * @author zhanglr  
 * @date 2019年11月8日
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "advice_feedback")
@TableName("advice_feedback")
public class AdviceFeedbackEntity {

    @TableId
    @Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
    private String uuId;
    
    @Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String userId;
   
    @Column(name = "content", type = MySqlTypeConstant.VARCHAR)
    private String content; //反馈内容
    
    @Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //反馈时间

    @Column(name = "reply", type = MySqlTypeConstant.VARCHAR)
    private String reply; //客服回复

    @Column(name = "reply_time", type = MySqlTypeConstant.DATETIME)
    private Date replyTime;  //回复时间

    @Column(name = "reply_user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String replyUserId; //客服ID

    @Column(name = "reply_name", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String replyName; //客服昵称

    @TableField(exist = false)
    private List<UploadImageResData> imgs;

    @TableField(exist = false)
    private List<Date> inTimes;

    @TableField(exist = false)
    private String nickName;

    @TableField(exist = false)
    private UserInfo userInfo;

}
